﻿
@{
    ViewData["Title"] = "BomUpdate";
    Layout = "~/Views/Home/Main.cshtml";
}

<h1>Bom管理/编辑</h1>
<div class="parent-container">
    <form class="layui-form">
        <div style="border: 2px solid black;">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <h3>基本信息</h3>
                    <label class="layui-form-label">BOM编号：</label>
                    <div class="layui-input-inline" style="width: 200px;">
                        <input type="text" id="Bombh" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">成品编号：</label>
                    <div class="layui-input-block" style="width: 200px;">
                        <input type="text" id="Chenbh" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">成品名称：</label>
                    <div class="layui-input-inline" style="width: 200px;">
                        <input type="text" id="ChenName" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">

                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">规格型号：</label>
                    <div class="layui-input-inline" style="width: 200px;">
                        <input type="text" id="Guige" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">尺寸：</label>
                    <div class="layui-input-inline" style="width: 200px;">
                        <input type="text" id="Chicun" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                    </div>
                </div>


                <div class="layui-inline">
                    <label class="layui-form-label">操作人：</label>
                    <div class="layui-input-inline" style="width: 200px;">
                        <input type="text" id="CaozuoName" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">BOM版本号：</label>
                    <div class="layui-input-inline" style="width: 200px;">
                        <input type="text" id="Bombanben" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
        </div>
        <div style="border: 2px solid black;">
            <h2>修改原料</h2>
            <table class="layui-table" id="carriertable" style="width:500px"></table>
        </div>
        <div style="border: 2px solid black;">
            <h2>工艺路线</h2>
            <table class="layui-table" id="hh" style="width:500px"></table>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block" style="float:right">
                <input type="button" value="取消" class="layui-btn layui-bg-blue" />
                <input type="button" value="提交" class="layui-btn layui-bg-blue" onclick="BomUpdate()" />

            </div>
        </div>
    </form>
</div>
<script src="~/js/bom/bomupdate.js"></script>